<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>词多多代理商平台</title>
    <include file="Index:header"/>
    <script type="text/javascript">
        $(function(){
            $(".help-side dl dd:eq(1)").addClass('cur');
        })
        $(function(){
            $("#top #topcon .nav li:eq(3)").addClass('cur');
        })
    </script>
    <script src="__PUBLIC__/js/main.js" type="text/javascript" charset="UTF-8"></script>
</head>

<body>
    <include file="Index:top"/>
    <div id="main">
        <include file="Suffix:left"/>
        <div id="main_right" class="container">
            <div class="title">后缀词类型</div>
            <div id="infotab" class="container mt10">
                <ul class="tb cl">
                    <li class="a">
                        <a href="{:U('suffix_type')}">添加后缀词类型</a>
                    </li>
                    <li>
                        <a href="{:U('suffix_type_control')}">后缀词类型管理</a>
                    </li>
                </ul>
                <div id="proxyinfo" class="p10">
                    <form name="form1" id="form1" class="form" showOnMouseOver="false">
                        <table width="570" class="tableStyle mt30 ml70" formMode="line" failAlert="表单填写不正确，请按要求填写！">
                            <tr>
                                <td align="right">
                                    后缀词类型：
                                </td>
                                <td style="padding-left:25px;">
                                    <textarea style="padding:10px;width:230px;height:130px;" class="validate[required,custom[chinese1] input" id="content" name='type_name'>支持多种类型添加,一行一种类型</textarea>
                                </td>
                                <td>
                                    <div class="validation_info"></div>
                                </td>
                            </tr>
                            <tbody id="keywords"></tbody>
                            <tr style="height:70px;">
                                <td></td>
                                <td style="padding-left: 40px;">
                                    <input class="button green" type="button" name="button" id="button" value="提&nbsp;&nbsp;交" onclick="validateForm('#form1','__URL__/suffix_type')"/>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <include file="Index:footer"/>
    <script type="text/javascript">

        $(function() {
            $("#content").text();
            $("#content").css("text-align", "center").css("font-size", "14px").css("line-height", "130px").css("color", "#ccc");
            $("#content").focus(function() {
                var str = $(this).val();
                str = $.trim(str);
                if (str == "支持多种类型添加,一行一种类型") {
                    $(this).val("");
                    $("#content").css("text-align", "").css("font-size", "").css("line-height", "").css("color", "");
                }
            });
            $("#content").blur(function() {
                var str = $(this).val();
                str = $.trim(str);
                if (str == "") {
                    $(this).val("支持多种类型添加,一行一种类型");
                    $("#content").css("text-align", "center").css("font-size", "14px").css("line-height", "130px").css("color", "#ccc");
                }
            });

        });
    </script>
</body>

</html>